---
title: Command
description: A command combines a text input with a menu, allowing users to filter a list of options to items matching a query.
links:
  - label: Aria docs
    href: https://react-spectrum.adobe.com/react-aria/Autocomplete.html
  - label: Report an issue
    href: https://github.com/mehdibha/dotUI/issues/new/choose
  - label: Edit this page
    href: https://github.com/mehdibha/dotUI/tree/main/content/components/menus-and-selection/command.mdx?plain=1
---

<ComponentPreview name="command/demos/basic" />

## Installation

```package-install
npx shadcn@latest add @dotui/command
```

## Dialog

<ComponentPreview name="command/demos/dialog" />
